package s;

import java.util.Arrays;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class a
{
	public static void main(String[] args)
	{
		int a = 1;
		a = a << 24;
		a = a | 0x00FFFFFF;
		System.out.println("0x"+Integer.toHexString(a));
		
		String x = "A,C,";
		System.out.println(Arrays.toString(x.split(",", -1)));

		System.out.println(isSpecial("中"));
	}

	public static boolean isSpecial(String pwd)
	{
		String reg1 = "^\\S+$";
		Pattern pattern = Pattern.compile(reg1);
		Matcher matcher = pattern.matcher(pwd);
		return matcher.matches();
	}
}
